package com.pengshun.modules.api.system.domain;

import com.fasterxml.jackson.annotation.JsonView;
import com.pengshun.modules.common.ReslutView;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Transient;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.List;

@Entity
@Data
@Table(name = "ps_province")
@NoArgsConstructor
public class Provinces {

    @Id
    private Integer provinceId;

    private String province;

    public Provinces(Integer provinceId, String province) {
        this.provinceId = provinceId;
        this.province = province;
    }


}
